package com.knife.blog.logic;

import java.util.Collection;
import java.util.List;

import com.knife.blog.domain.BlogCircleDir;
import com.knife.web.tools.IPageList;

public interface BlogCircleDirService {
	BlogCircleDir getBlogCircleDir(String cid);
	
	BlogCircleDir getFatherCircleDir(String cid);
	
	boolean addBlogCircleDir(BlogCircleDir circleDir);
	
	boolean delBlogCircleDir(String cid);
	
	boolean updateBlogCircleDir(BlogCircleDir circle);
	
	int batchDelBlogCircleDir(String[] cid);
	
	IPageList queryBlogCircleDir();
	
	IPageList queryBlogCircleDir(String scope,Collection paras, int currentPage, int pageSize);
	
	IPageList queryTopCircleDir(int currentPage,int pageSize);
	
	IPageList queryChildCircleDir(String fatherDir, int currentPage, int pageSize);
	
	IPageList queryChildCircleDir(BlogCircleDir topCircleDir,int currentPage,int pageSize);
}
